<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
        <title>Optilodging</title>
        <meta http-equiv="content-language" content="es">
        <meta name="keywords" content="Hotel Management Software, Property Management System, Cloud PMS, Hospitality Booking Systems, optilodging">
        <meta name="description" content="Manage your Hotel Property Reservations, Billing, Bookings with Hotelogix, Cloud/Web Based Hotel Hospitality System, PMS Software. optilodging!">
        <link href="<?= base_url() ?>public/images/favicon.png" rel="icon" type="image/x-icon" />
        <link rel="author" href="https://www.facebook.com/Optilodging">
        <link rel="canonical" href="http://www.optilodging.com/">
        <meta name="author" content="Optilodging - Luis Fernando Montoya">
        <!--[if lt IE 9]>
        <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        <link href="<?= base_url() ?>public/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
        <link href="<?= base_url() ?>public/lib/jQuery/css/smoothness/jquery-ui-1.10.2.custom.min.css" rel="stylesheet">
        <link href="<?= base_url() ?>public/css/mainPage/mainPage.css" rel="stylesheet">
        <?php if ($tab == "terminos") { ?>
            <link href="<?= base_url() ?>public/css/mainPage/terminos.css" rel="stylesheet">
        <?php } else if ($tab == "caracteristicas") { ?>
            <link href="<?= base_url() ?>public/css/mainPage/caracteristicas.css" rel="stylesheet">
        <?php } else if ($tab == "precios") { ?>
            <link href="<?= base_url() ?>public/css/mainPage/precios.css" rel="stylesheet">
        <?php } else if ($tab == "contactenos") { ?>
            <link href="<?= base_url() ?>public/css/mainPage/contactenos.css" rel="stylesheet">
        <?php } ?>

        <meta name="google-translate-customization" content="3808fa66a4c3e905-28b93eae3f5bcade-g1fe0e49a296db5e7-10"></meta>
        <script type="text/javascript">
            window.$zopim || (function(d, s) {
                var z = $zopim = function(c) {
                    z._.push(c)
                }, $ = z.s =
                        d.createElement(s), e = d.getElementsByTagName(s)[0];
                z.set = function(o) {
                    z.set.
                            _.push(o)
                };
                z._ = [];
                z.set._ = [];
                $.async = !0;
                $.setAttribute('charset', 'utf-8');
                $.src = '//v2.zopim.com/?1bQjf5RfupPpkIrzfX7mXVH1PFvG0jDH';
                z.t = +new Date;
                $.
                        type = 'text/javascript';
                e.parentNode.insertBefore($, e)
            })(document, 'script');
        </script>
    </head>
    <body>
        <div id="header">
            <div id="contenido-header">
                <div id="logo-img"></div> 
                <a href="http://www.optilodging.com"><div id="texto-logo">OPTILODGING</div></a>
<!--                <div id="google_translate_element"></div><script type="text/javascript">
                    function googleTranslateElementInit() {
                        new google.translate.TranslateElement({pageLanguage: 'es', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
                    }
                </script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>-->
                <nav id="menu" class="pull-right">
                    <a href="http://www.optilodging.com" class="<?php if ($tab == "inicio") echo "activo"; ?>">
                        Inicio
                        <span></span>
                    </a>
                    <a href="caracteristicas" class="<?php if ($tab == "caracteristicas") echo "activo"; ?>">
                        Características
                        <span></span>
                    </a>
                    <a href="contactenos" class="<?php if ($tab == "contactenos") echo "activo"; ?>">
                        Contactenos
                        <span></span>
                    </a>
                    <a href="entrar">
                        <?php
                        if (isset($_SESSION['establecimiento']['id_establecimiento'])) {
                            echo "<b id='nombreHotel' title='" . $_SESSION['establecimiento']['nombre'] . "'>" . $_SESSION['establecimiento']['nombre'] . "</b>";
                        } else {
                            ?>
                            Ingresar
                        <?php } ?>
                        <span></span>
                    </a>

                </nav>

            </div>
        </div>